#define _CRT_SECURE_NO_WARNINGS  1
#include"BSTreeR.h"

void test01()
{
	BSTree<int> root;
	int a[] = { 8, 3, 1, 10, 6, 4, 7, 14, 13 };
	for (auto ch : a)
	{
		root.Insert(ch);
	}
	root.Inorder();

	root.Erase(13);
	root.Erase(8);
	root.Inorder();

	BSTree<int> t1(root);
	t1.Inorder();
	BSTree<int> t2;
	t2 = t1;
	t2.Inorder();


}


int main()
{
	test01();
}